Skip to content

Conversation

tanay-man
Copy link
Contributor

Updated the ASR node StructType from

StructType(symbol derived_type)

to

StructType(ttype* data_member_types, ttype* member_function_types, bool is_cstruct, symbol derived_type)

@tanay-man
Copy link
Contributor Author

I have created a wrapper function for creation of StructType. It currently only considers cstyle structs. To add function defs, we need a parameter member_functions like members in the Struct symbol.
@certik @Thirumalai-Shaktivel

Copy link
Collaborator

@Thirumalai-Shaktivel Thirumalai-Shaktivel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good!
LGTM.

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks great! Thank you.

@tanay-man
Copy link
Contributor Author

@Thirumalai-Shaktivel @certik , I have removed the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants